module.exports = {
  /*
  ** Headers of the page
  */
  head: {
    title: "starter",
    meta: [
      { charset: "utf-8" },
      { name: "viewport", content: "width=device-width, initial-scale=1" },
      { hid: "description", name: "description", content: "Nuxt.js project" }
    ],
    link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
    script: [{ src: "http://res.wx.qq.com/open/js/jweixin-1.2.0.js" }]
  },
  /*
  ** Global CSS
  */
  css: [
    {
      src: "~static/css/reset.css"
    },
    {
      src: "swiper/dist/css/swiper.css"
    }
  ],
  plugins: [{ src: "~plugins/swiper.js", ssr: false }],
  loaders: [
    {
      test: /\.(png|jpe?g|gif|svg)$/,
      loader: "url-loader",
      query: {
        limit: 10000,
        name: "img/[name].[hash].[ext]"
      }
    }
  ],
  /*
  ** Customize the progress-bar color
  */
  loading: { color: "#3B8070" }
};
